var old_date = new Date();
var month=new Array(12);
month[0]="January";
month[1]="February";
month[2]="March";
month[3]="April";
month[4]="May";
month[5]="Jun";
month[6]="July";
month[7]="August";
month[8]="September";
month[9]="Octobor";
month[10]="November";
month[11]="December";
var day=new Array(7);
day[0]="Sunday";
day[1]="Monday";
day[2]="Tuesday";
day[3]="Wednesday";
day[4]="Thursday";
day[5]="Friday";
day[6]="Saturday";


var new_date = old_date.getDate();	// only date will be given.
if(new_date<10){new_date = "0"+new_date;}
var new_month = month[old_date.getMonth()];
var new_day = day[old_date.getDay()]; 
var new_year = old_date.getYear()+1900;



